@charset "UTF-8";
@import "normalize.scss";
@import "mixins.scss";

$ns: kh;
$gap: 30;
$width: 1200;
//$gapem : (30/18);

html {
  font-size: 10px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  font-family:  "Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","Hiragino Sans GB W3","Microsoft YaHei UI","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;
  background-color: #f2f2f2;
  line-height: (20/14);
  font-size: 14px;
  color: #333;
  -webkit-overflow-scrolling: touch;
}

//媒体查询
@import "media.scss";
@import "icon.scss";

.clearfix {
  @include clearfix;
}

.image-responsive {
  display: block;
  width: auto;
  max-width: 100%;
  border: 0;
}

@import "header.scss";
@import "banner.scss";
@import "footer.scss";

.#{$ns}-container {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  @include clearfix;
  @media (min-width: 1170px) {
    width: 1000px;
  }
  @media (min-width: 1600px) {
    width: 1260px;
    padding-left: 30px;
    padding-right: 30px;
  }
}

.#{$ns}-row {
  margin-left: (-15)+px;
  margin-right: (-15)+px;
  @include clearfix;
  @media (min-width: 1600px) {
    margin-left: (-30)+px;
    margin-right: (-30)+px;
  }
}

.#{$ns} {
  &-service-sec {
    padding-top: (50/$maxpx)+em;
    padding-bottom: (50/$maxpx)+em;
    background-color: #fff;
  }
  &-platform-sec {
    padding-top: (80/$maxpx)+em;
    padding-bottom: (80/$maxpx)+em;
    .btn-more {
      display: block;
      width:150px;
      margin: 30px auto 0;
      border:1px solid #7bbb9b;
      border-radius: 34px;
      color: #7bbb9b;
      text-decoration: none;
      line-height: 32px;
      font-weight: normal;
      font-size: 1em;
      text-align: center;
      text-transform: uppercase;
      &:hover, &:focus {
        text-decoration: underline;
      }
    }
  }
  &-partner-sec {
    padding-top: (80/$maxpx)+em;
    padding-bottom: (80/$maxpx)+em;
  }
  &-service-item, &-platform-item {
    position: relative;
    float: left;
    width: percentage(1/3);
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    @media (min-width: 1600px) {
      padding-left: 30px;
      padding-right: 30px;
    }
  }
  &-title {
    position: relative;
    padding-right: 200px;
    margin-top: 0;
    line-height: (36/30);
    font-size: (30/$maxpx)+em;
    color: #273848;

  }
  &-si-box {
    position: relative;
    padding-top: (16/$maxpx)+em;
    padding-bottom: (11/$maxpx)+em;
    background-color: #fff;
    transition: background-color .3s ease-in;
    &:hover{
      background-color: #f2f2f2;
    }
    //&:before,
    &:after {
      content: '';
      position: absolute;
      left: 0;
      width: (33/$maxpx)+em;
      height: 2px;
      //margin-left: (-33/2/$maxpx)+em;
      background-color: #7bbb9b;
    }
    //&:before{
    //  top:0;
    //}
    &:after {
      bottom: 0;
    }
  }
  &-si-title {
    margin: 0;
    line-height: 2;
    font-size: 1em;
    color: #7bbb9b;
    @include text-ellipsis;
    > a {
      text-decoration: none;
      color: #7bbb9b;
      &:hover, &:focus {
        text-decoration: underline;
      }
    }
  }
  &-si-descript {
    margin: 0;
    //height: (36*5/14)+em;
    line-height: (36/14);
    font-size: 14px;
    color: #262626;
    overflow: hidden;
  }
  &-pf-box {
    display: block;
    &:hover {
      .#{$ns}-pf-title {
        background-color: #77b597;
        color: #fff;
        > a {
          color: #fff;
        }
      }
      .#{$ns}-pf-imgbox {
        &:after {
          background-color: rgba(0, 0, 0, .3);
        }
      }
    }
  }
  &-pf-imgbox {
    display: block;
    position: relative;
    height: 100%;
    &:after {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      right: 0;
      background-color: transparent;
      transition: background-color .3s linear;
      z-index: 10;
    }
  }
  &-pf-title {
    line-height: (80/18)+em;
    padding: 0 (10/18)+em;
    margin: 0;
    text-align: center;
    font-size: (18/$maxpx)+em;
    font-weight: bold;
    color: #262626;
    background-color: #fff;
    transition: background-color .3s linear, color .3s linear;
    box-sizing: border-box;
    @include text-ellipsis;
    > a {
      color: #273848;
    }
  }
  &-newsbanner {
    padding-top: (78/$maxpx)+em;
    padding-bottom: (80/$maxpx)+em;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  &-nw-txt {
    float: left;
    width: percentage(360/1200);
  }
  &-nw-block {
    position: relative;
    float: left;
    width: percentage(840/1200);
    box-sizing: border-box;
    .#{$ns}-nw-item {
      padding: percentage(14/622) 0;
      &:hover {
        .#{$ns}-nwi-title {
          > a {
            color: #77b597;
          }
        }
        .#{$ns}-nwi-source {
          > span {
            color: #77b597;
          }
        }

      }
    }
    .#{$ns}-nw-wrap {
      margin-left: percentage(60/840);
      padding-top: percentage(23/840);
      padding-bottom: percentage(23/840);
      padding-left: percentage(98/840);
      padding-right: percentage(60/840);
      background-color: #fff;
      box-shadow: 0 0 3px rgba(0, 0, 0, .5);
      box-sizing: border-box;
    }
    .kh-nw-box {
      position: relative;
      overflow: hidden;
    }
    .#{$ns}-nwi-title {
      position: relative;
      margin: 0;
      padding-right: 145px;
      line-height: 20px;
      font-size: 14px;
      font-weight: normal;
      box-sizing: border-box;
      @include text-ellipsis;
      > a {
        color: #262626;
        text-decoration: none;
        &:hover {
          color: #77b597;
        }
      }
      .nwi-date {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        width: 145px;
        height: 20px;
        text-align: right;
        color: #666;
      }
    }
    .#{$ns}-nwi-source {
      margin: 0;
      font-size: 12px;
      line-height: 20px;
      > span {
        color: #666;
        & + span {
          margin-left: percentage(38/600);
        }
      }
    }
    .#{$ns}-nw-tag {
      position: absolute;
      left: percentage(-10/840);
      top: 50%;
      width: percentage(140/840);
      margin-top: percentage(-70/840);
      z-index: 10;
    }
  }
}

.#{$ns} {
  &-partner {
    padding-top: ((262-198)/$maxpx)+em;
    padding-left: 1.2em;
    padding-right: 1.2em;
    box-shadow: 0 0 2px rgba(0, 0, 0, .1);
    background-color: #fff;
    box-sizing: border-box;
    overflow: hidden;
    &-item {
      float: left;
      width: 20%;
      box-sizing: border-box;
      &:hover {
        .#{$ns}-partner-info {
          background-color: #7bbb9b;
          > p {
            color: #fff;
          }
        }
      }
    }
    &-cell {
      display: table-cell;
      width: 1%;
      height: 120px;
      vertical-align: middle;
      img {
        margin: 0 auto;
      }
    }
    &-info {
      background-color: #fff;
      transition: all .3s linear;
      > p {
        padding: 0 10px;
        height: (78/12)+em;
        margin: 0;
        line-height: (78/12)+em;
        font-size: 12px;
        color: #273848;
        text-align: center;
        box-sizing: border-box;
        @include text-ellipsis;
      }
    }
  }
}

@import "service.scss";
@import "aboutus.scss";
@import "platform.scss";
@import "concatus.scss";
@import "meetdate.scss";